package com.meilingcloud.biobank.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.meilingcloud.biobank.domain.SampleGroup;

import java.util.List;

/**
 * 样本组 Service接口
 *
 * @author chenl
 * @date 2021-03-02
 */
public interface ISampleGroupService extends IService<SampleGroup> {

    /**
     * 查询列表
     */
    List<SampleGroup> queryList(SampleGroup sampleGroup);

    SampleGroup queryById(Long sampGroupId);

    SampleGroup queryByCode(String code);

    boolean updateSampGroupById(SampleGroup sampleGroup);

    boolean removeSampGroupByIds(List<Long> sampGroupIds);
}
